package net.wesc.ac.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("service")
public interface Service extends RemoteService {
	double[] fit(String data, String model, String type, String temp) throws IllegalArgumentException;
	
	String expPlot(String data, String model) throws IllegalArgumentException;
	
	String fitPlot(String data, double[] param, String model, String type, String temp) throws IllegalArgumentException;
	
	String bothPlot(String data,double[] param, String model, String type, String temp) throws IllegalArgumentException;
}
